package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the DATETYPE_ database table.
 * 
 */
@Entity
@Table(name="DATETYPE_")
@NamedQuery(name="Datetype.findAll", query="SELECT d FROM Datetype d")
public class Datetype implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="DATETYPE__DATETYPEID_GENERATOR", sequenceName="SEQ",initialValue=1,allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="DATETYPE__DATETYPEID_GENERATOR")
	@Column(name="DATETYPE_ID")
	private long datetypeId;

	@Column(name="DATETYPE_CLASSIFY")
	private String datetypeClassify;

	@Column(name="DATETYPE_CONTENT")
	private String datetypeContent;

	@Column(name="DATETYPE_DEFAULT")
	private BigDecimal datetypeDefault;

	@Column(name="DATETYPE_IFDELETE")
	private BigDecimal datetypeIfdelete;

	@Column(name="DATETYPE_IFOPEN")
	private BigDecimal datetypeIfopen;

	@Temporal(TemporalType.DATE)
	@Column(name="DATETYPE_INTODATE")
	private Date datetypeIntodate;

	@Column(name="DATETYPE_SORT")
	private BigDecimal datetypeSort;

	public Datetype() {
	}

	public long getDatetypeId() {
		return this.datetypeId;
	}

	public void setDatetypeId(long datetypeId) {
		this.datetypeId = datetypeId;
	}

	public String getDatetypeClassify() {
		return this.datetypeClassify;
	}

	public void setDatetypeClassify(String datetypeClassify) {
		this.datetypeClassify = datetypeClassify;
	}

	public String getDatetypeContent() {
		return this.datetypeContent;
	}

	public void setDatetypeContent(String datetypeContent) {
		this.datetypeContent = datetypeContent;
	}

	public BigDecimal getDatetypeDefault() {
		return this.datetypeDefault;
	}

	public void setDatetypeDefault(BigDecimal datetypeDefault) {
		this.datetypeDefault = datetypeDefault;
	}

	public BigDecimal getDatetypeIfdelete() {
		return this.datetypeIfdelete;
	}

	public void setDatetypeIfdelete(BigDecimal datetypeIfdelete) {
		this.datetypeIfdelete = datetypeIfdelete;
	}

	public BigDecimal getDatetypeIfopen() {
		return this.datetypeIfopen;
	}

	public void setDatetypeIfopen(BigDecimal datetypeIfopen) {
		this.datetypeIfopen = datetypeIfopen;
	}

	public Date getDatetypeIntodate() {
		return this.datetypeIntodate;
	}

	public void setDatetypeIntodate(Date datetypeIntodate) {
		this.datetypeIntodate = datetypeIntodate;
	}

	public BigDecimal getDatetypeSort() {
		return this.datetypeSort;
	}

	public void setDatetypeSort(BigDecimal datetypeSort) {
		this.datetypeSort = datetypeSort;
	}

}